package com.css.fxfzypg.modules.downloadLegend.controller;

import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.downloadLegend.Vo.LegendVo;
import com.css.fxfzypg.modules.downloadLegend.Vo.RequestVO;
import com.css.fxfzypg.modules.downloadLegend.service.SupergraphService;
import com.css.fxfzypg.modules.resultsManagement.entity.MapManagementEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/legend")
@Slf4j
public class SupergraphController {

    @Resource
    SupergraphService supergraphService;
    @PostMapping("/supergraph")
    public RestResponse Supergraph(@RequestBody LegendVo legendVo) {
        RestResponse response = supergraphService.handle(legendVo);
        return response;
    }


}
